import { trigger, style, transition, animate } from '@angular/animations';

export const fadeInFromTop = trigger('fadeInFromTop', [
  transition('void => *', [
    style({transform: 'translateY(-100%)'}),
    animate(1000)
  ]),
  transition('* => void', [
    animate(1000, style({transform: 'translateY(100%)'}))
  ])
]);